package net.comfycastle.musicplayer;

interface IMusicService {
	void setWasPlaying();
	
	String getTitle();
	String getAlbum();
	String getArtist();
	int getDuration();
	int getProgress();
	boolean isReady();
	boolean isPlaying();
	boolean wasPlaying();
	boolean isRandom();
	int getRepeatState();
	
	void play();
	void pause();
	void stop();
	void next();
	void prev();
	void seekTo(int msec);
	void toggleRandom();
	void toggleRepeat();
	void setNotification();
	void cancelNotification();
	void finish();
}